
import { useNavigate } from 'react-router-dom';
export default function HeaderNav() {
  const logUrl: string = "http://110.40.173.112/download/20240814/logo.png";
  const navigate = useNavigate();
  const handleToLogin = () => {
    navigate('/ssii-common/login'); // 导航到/about路径
  };
  return (
    <div className="h-10 bg-white flex  items-center">
      <div className="w-20 h-full flex justify-center">
        <img src={logUrl} alt=""  className="w-16  h-full  " />
      </div>
      <div className="bg-blue-300 flex-1"></div>
      <div
        className="w-40  text-center align-middle cursor-pointer"
        onClick={handleToLogin}
      >
        立即体验
      </div>
    </div>
  );
}
